package com.matinzac.constants;

/**
 * <p>Description: 微信支付相关 URL 通用类</p>
 *
 * @author MtinZac
 * create on 2021/11/24 上午11:14
 */
public class WxPayConstants {


    /**
     * 微信code换openid 和 unionid 的URL
     */
    public static final String COUDE_OPENID_URL ="https://api.weixin.qq.com/sns/jscode2session?appid=";


    /**
     * 适用对象：小程序下单
     * 请求方式：POST
     */
    public static final String JSAPIURL = "https://api.mch.weixin.qq.com/v3/pay/transactions/jsapi";

    /**
     * 适用对象：APP下单
     * 请求方式：POST
     */
    public static final String APPURL = "https://api.mch.weixin.qq.com/v3/pay/transactions/app";

    /**
     * 获取证书
     */
    public static final String CERTIFICATESURL = "https://api.mch.weixin.qq.com/v3/certificates";


    /**
     * 退款地址
     */
    public static final String REFUNDSURL = "https://api.mch.weixin.qq.com/v3/refund/domestic/refunds";


}
